﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
using System.Text;
using System.Threading.Tasks;

namespace TriQuest_World_Editor
{
    class CTile
    {
        Size TileSizeDPI;

        Rectangle TileSetSize;

        Bitmap TileImage;

        

        public CTile( decimal PosX = 0, decimal PosY = 0, decimal Height = 4, decimal Width = 2 )
        {
            TileSizeDPI = new Size(64, 64);
            TileSetSize = new Rectangle ( (int)PosX, (int)PosY, (int)Height, (int)Width );
        }

        public Size SetDPI
        {
            get { return TileSizeDPI; }
            set { TileSizeDPI = value; }
        }

        public Rectangle SetSize
        {
            get { return TileSetSize; }
            set { TileSetSize = value; }
        }

        public Bitmap SetImage
        {
            get { return TileImage; }
            set { TileImage = value; }
        }
    }
}
